import { axios } from "@/request/request";

/**
 * 发布作品(视频或者文章)
 * @param {*} data
 * @returns
 */
export const publishWork = data => {
  return axios({
    url: "/addPublishWork",
    method: "post",
    data,
  });
};
